package com.ruoyi.Xiaozhi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约信息对象 appointment
 * 
 * @author ruoyi
 * @date 2025-11-10
 */
public class Appointment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约记录唯一主键ID，自增生成 */
    private Long id;

    /** 预约人姓名 */
    @Excel(name = "预约人姓名")
    private String username;

    /** 预约人联系电话 */
    @Excel(name = "预约人联系电话")
    private String phoneNumber;

    /** 预约人身份证号 */
    @Excel(name = "预约人身份证号")
    private String idCard;

    /** 预约日期 */
    @Excel(name = "预约日期")
    private String date;

    /** 预约时间段 */
    @Excel(name = "预约时间段")
    private String time;

    /** 预约对应老师姓名 */
    @Excel(name = "预约对应老师姓名")
    private String teacherName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public void setDate(String date) 
    {
        this.date = date;
    }

    public String getDate() 
    {
        return date;
    }

    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }

    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("phoneNumber", getPhoneNumber())
            .append("idCard", getIdCard())
            .append("date", getDate())
            .append("time", getTime())
            .append("teacherName", getTeacherName())
            .toString();
    }
}
